<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\Picture;
use App\Repositories\DiscountRepository;

class PasswordCoupon extends Model
{
    /**
     * 表名称
     * @var $table;
     */
    protected $table = 'password_coupon';

    /**
     * 主键
     * @var $primaryKey
     */
    protected $primaryKey = 'password';

	public $timestamps = false;

    // protected $dates = ['created_at'];

    /**
     * 自动填充字段
     * @var $fillable
     */

    protected $fillable = [
        'password', 'coupon_id', 'user_id', 'password_status', 'created_at', 'send_time', 'use_time'
    ];


}
